home *** CD-ROM | disk | FTP | other *** search
- Option Explicit
-
- Rem global module has definitions for both shareware and non-shareware
- Rem versions of mathflash.
-
- Global student_name As String
- Global rnd1, rnd2, answer, answer_flag As Integer
- Global case_index, iteration, highscore As Integer
- Global upper_limit, num_right As Integer
- Global percent_correct As Double
- Global rnd1_objects(), rnd2_objects, reward(), rnd3_objects
- Global reward_counter, rnd_box As Integer
- Global correct_answer As Integer
-
- Type rec_layout
- name As String * 25
- time As String * 10
- End Type
-
- Global student_rec As rec_layout
- Global lastrecord As Long
- Global cur_pos As Long
- Global objects
-
- Rem sound drivers
- Declare Function closesound Lib "sound.drv" () As Integer
- Declare Function opensound Lib "sound.drv" () As Integer
- Declare Function SetVoiceSound Lib "sound.drv" (ByVal nSource%, ByVal Freq&, ByVal nDuration%) As Integer
- Declare Function StartSound Lib "sound.drv" () As Integer
- Global i As Integer
-
-